package com.android.vtca.ulti;

import android.R.integer;

public class MyUlti {
	public static String covertIntToStringTime(int iTime) {
		int iMinutes = iTime / 60;
		int iSecond = iTime % 60;

		return String.valueOf(iMinutes) + ":" + String.valueOf(iSecond);
	}

	public static int convertStringTimeToInt(String strTime) {
		String arrTime[] = strTime.split(":");
		return Integer.parseInt(arrTime[0]) * 60 + Integer.parseInt(arrTime[1]);
	}
}
